<?php
class App_View_Helper_SeriesListing{

	public function seriesListing(){

		$criteria = new Criteria();
		/*$criteria->add(TournamentPeer::ID, $seriesId)
					->add(TournamentPeer::IS_ACTIVE, 'Y');

		$tournamentTeams = Team


*/
		$oSeries = TournamentPeer::doSelect($criteria);
		$html = "";
		foreach($oSeries as $series){

			$html .='<li>'. $series->getName() .'</li>';

		}

		if($html != ""){

			$html = '<ul class="series-select inline">'. $html ."</ul>";
		}
		return $html;
	}

}